package com.jeeplus.modules.sys.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.persistence.DataEntity;

import java.util.Date;

/**
 * @author xujin
 * @title: cgDetail
 * @projectName ESA_SX
 * @description: TODO
 * @date 2020-04-159:40
 */
public class XxDetail extends DataEntity<XxDetail> {

    private static final long serialVersionUID = 1L;
    private User   currentUser;		// 当前用户
    private String company;
    private String companyName;
    private String brandName;
    private String carno;
    private String productNo;
    private Double priceSum;
    private String sale;
    private String memo;
    private String no;
    private Date    dateXs;
    private String dcr;
    private String areaName;
    private String agencyName;
    private String motorcadeName;
    private String xsgwName;
    private String reachName;
    private String fl;
    private int type;
    private int amountzc;

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public String getBrandName() {
        return brandName;
    }

    public void setBrandName(String brandName) {
        this.brandName = brandName;
    }

    public String getProductNo() {
        return productNo;
    }

    public void setProductNo(String productNo) {
        this.productNo = productNo;
    }

    public Double getPriceSum() {
        return priceSum;
    }

    public void setPriceSum(Double priceSum) {
        this.priceSum = priceSum;
    }

    public String getSale() {
        return sale;
    }

    public void setSale(String sale) {
        this.sale = sale;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }
    @JsonFormat(pattern = "yyyy-MM-dd")
    public Date getDateXs() {
        return dateXs;
    }

    public void setDateXs(Date dateXs) {
        this.dateXs = dateXs;
    }

    public String getDcr() {
        return dcr;
    }

    public void setDcr(String dcr) {
        this.dcr = dcr;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public String getAgencyName() {
        return agencyName;
    }

    public void setAgencyName(String agencyName) {
        this.agencyName = agencyName;
    }

    public String getMotorcadeName() {
        return motorcadeName;
    }

    public void setMotorcadeName(String motorcadeName) {
        this.motorcadeName = motorcadeName;
    }

    public String getXsgwName() {
        return xsgwName;
    }

    public void setXsgwName(String xsgwName) {
        this.xsgwName = xsgwName;
    }

    public String getReachName() {
        return reachName;
    }

    public void setReachName(String reachName) {
        this.reachName = reachName;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    public int getAmountzc() {
        return amountzc;
    }

    public void setAmountzc(int amountzc) {
        this.amountzc = amountzc;
    }

    public String getFl() {
        return fl;
    }

    public void setFl(String fl) {
        this.fl = fl;
    }

    @Override
    public User getCurrentUser() {
        return currentUser;
    }

    @Override
    public void setCurrentUser(User currentUser) {
        this.currentUser = currentUser;
    }

    public String getCarno() {
        return carno;
    }

    public void setCarno(String carno) {
        this.carno = carno;
    }
}
